package com.simple.datax.db.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.simple.datax.db.mybatis.model.DataxRecvRawMsg;
import com.simple.datax.db.service.RecvRawMsgService;
import com.simple.datax.db2.mybatis.client.DataxRecvRawMsgMapper;

/** 
 * @Title: RecvRawMsgServiceImpl.java 
 * @Package com.simple.datax.db.service.impl 
 * @Description: TODO(添加描述) 
 * @author Paladin Chen 
 * @date 2012-12-20 下午10:15:48 
 * @version V1.0 
 */
@Service("recvRawMsgService")
public class RecvRawMsgServiceImpl implements RecvRawMsgService {
    @Autowired
    private DataxRecvRawMsgMapper drrmm;
	
	@Override
	public int insert(DataxRecvRawMsg drrm) {
		return drrmm.insertSelective(drrm);
	}

	@Override
	public DataxRecvRawMsg getByPK(String id) {
		return drrmm.selectByPrimaryKey(id);
	}

}
